package top.broncho.lottery.db

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import top.broncho.lottery.BuildConfig

const val DATABASE_NAME = "${BuildConfig.APPLICATION_ID}.db"

@Database(entities = [LotteryEntity::class], version = 1, exportSchema = true)
@TypeConverters(BallsConverter::class)
abstract class AppDataBase : RoomDatabase() {
    abstract fun lotteryDao(): LotteryDao
}